package com.qijian.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author qijian
 */
@Getter
@AllArgsConstructor
public enum ApprovalDescriptionEnum {
    /**
     * 创建
     */
    A("A", "创建"),
    /**
     * 审核中
     */
    B("B", "审核中"),
    /**
     * 已审核
     */
    C("C", "已审核"),
    /**
     * 重新审核
     */
    D("D", "重新审核"),
    /**
     * 暂存
     */
    Z("Z", "暂存"),
    /**
     * 拒绝
     */
    J("J", "拒绝"),
    /**
     * 撤回
     */
    T("T", "撤回");

    @EnumValue
    private final String value;

    @JsonValue
    private final String description;
}
